﻿using Tools.Domain.Specifications.Constraints;
using Webshop20.Domain.Security.Authentication.Core;
using Webshop20.Domain.Security.Authentication.Factories.Contracts;

namespace Webshop20.Domain.Security.Authentication.Factories.Implementation
{
    public class AccountFactory : IAccountFactory
    {

        public Account Create(string loginName, string password, string passwordConfirm)
        {
            return new Account(loginName, password, passwordConfirm, null, string.Empty);
        }

        public Account Create()
        {
            return new Account();
        }
    }
}